package io.github.talelin.latticy.dto.ag.monitoringdevices;
import lombok.Data;
import javax.validation.constraints.NotEmpty;

@Data
public class CreateOrUpdateMonitoringDevicesDTO {

    private int id;
    private int room_id;
    @NotEmpty(message = "必须传入传感器名字")
    private String md_name;
    private String building_name;
    private String md_model;
    @NotEmpty(message = "必须传入传感器制造商")
    private String md_maker;
    private String md_maker_num;
    private String md_input_date;
    private String md_use_date;
    private String md_state;
}
